package com.bootdo.market.service;

import com.bootdo.market.domain.ChannelDO;

import java.util.List;
import java.util.Map;

/**
 * @author jinse
 * @email market@jinse.com
 * @date 2019-03-28 14:19:08
 */
public interface ChannelService {

    ChannelDO get(Integer id);

    List<ChannelDO> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(ChannelDO channel);

    int update(ChannelDO channel);

    int remove(Integer id);

    int batchRemove(Integer[] ids);

    List<Map<String, Object>> listAllChannel();
}
